package com.arpa.ntocc.common.mapper;

import com.arpa.ntocc.common.domain.dto.InvoiceMessageDTO;
import com.arpa.ntocc.common.domain.entity.InvoiceMessage;
import com.arpa.ntocc.common.domain.vo.InvoiceMessageVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 发票信息（抬头）维护 Mapper 接口
 * </p>
 *
 * @author LEO
 * @since 2019-12-23
 */
public interface InvoiceMessageMapper extends BaseMapper<InvoiceMessage> {

    /**
     * 查询列表
     * @param invoiceMessageDTO
     * @return
     */
    List<InvoiceMessageVO> queryList(InvoiceMessageDTO invoiceMessageDTO);

    /**
     * 查询合计,包含总数
     * @param invoiceMessageDTO
     * @return
     */
    InvoiceMessageVO queryListSum(InvoiceMessageDTO invoiceMessageDTO);

}
